Skip to main content

Cross Chain Swap Fee

Get the cross chain swap fee, paid in native gas on the source chain.

pragma solidity 0.8.16;
pragma abicoder v2;
import "../Pool.sol";

interface IInterswapFeeLibrary {
function getFees(
uint256 _srcPoolId,
uint256 _dstPoolId,
string calldata _dstChainId,
address _from,
uint256 _amountSD
) external returns (Pool.SwapObj memory s);

function getVersion() external view returns (string memory);
}